# from django.urls import path, include
from django.conf.urls import url, include

from . import views
from rest_framework.routers import SimpleRouter

router = SimpleRouter()
router.register('category', views.CategoryView, 'CategoryView')
router.register('free', views.CouresView, 'CouresView')
router.register('chapters', views.ChapterViewSet, 'ChapterViewSet')
router.register('search', views.CourserSearchView, 'CourserSearchView')
urlpatterns = [
    url('', include(router.urls)),

]


